<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>新增学生</title>
<style>
#sample-table-1 tr td {
	line-height: 50px;
}
</style>

</head>

<body class="no-skin">
	<form:form id="studentForm" action="add" method="post"
		modelAttribute="studentvo">
		<table align="center">
			<tr>
				<td colspan="2"><h2 align="center">添加</h2></td>
			</tr>
			<tr>
				<td>学号</td>
				<td><form:input path="user_id"  required="required" /> </td>
			</tr>
			<tr>
				<td>姓名</td>
				<td><form:input path="user_name" required="required" /> </td>
			</tr>
			<tr>
				<td>姓别 &nbsp;&nbsp; &nbsp;</td>
				<td>男 <form:radiobutton path="gender" name="gender" /> 女 <form:radiobutton
						path="gender" name="gender" /></td>
			</tr>
			<tr>
				<td>生日</td>
				<td><form:input type="date" path="birthday" required="required" /></td>
			</tr>

			<tr>
				<td>电话</td>
				<td><form:input path="tel" required="required" maxlength="11" minlength="11" /> </td>
			</tr>
			<tr>
				<td>住址</td>
				<td><form:input path="address" /> </td>
			</tr>
			<tr>
				<td colspan="2"><button type="submit">提交</button></td>
			</tr>
		</table>
	</form:form>
</body>
</html>
